Validate Tenant Id
This request validates that a customer Azure Tenant Id is genuine and valid before creating a service or upgrading to Hosted Essentials Plus or Hosted Pro.
URL
Copy
https://login.microsoftonline.com/{Azure tenant Id}/.well-known/openid-configuration
HTTP Method
GET
Request Parameter
Parameter |
Type |
Description |
---|---|---|
Azure tenant Id |
string |
Microsoft Azure Tenant Subscription Id of the customer to whom you wish to deploy the service. |
Example Response
Copy
{
"token_endpoint": "https://login.microsoftonline.com/d746115c-c020-4bdd-a0b4-e03487e1cbc6/oauth2/token",
"token_endpoint_auth_methods_supported": [
"client_secret_post",
"private_key_jwt",
"client_secret_basic"
],
"jwks_uri": "https://login.microsoftonline.com/common/discovery/keys",
"response_modes_supported": [
"query",
"fragment",
"form_post"
],
"subject_types_supported": [
"pairwise"
],
"id_token_signing_alg_values_supported": [
"RS256"
],
"response_types_supported": [
"code",
"id_token",
"code id_token",
"token id_token",
"token"
],
"scopes_supported": [
"openid"
],
"issuer": "https://sts.windows.net/d746115c-c020-4bdd-a0b4-e03487e1cbc6/",
"microsoft_multi_refresh_token": true,
"authorization_endpoint": "https://login.microsoftonline.com/d746115c-c020-4bdd-a0b4-e03487e1cbc6/oauth2/authorize",
"device_authorization_endpoint": "https://login.microsoftonline.com/d746115c-c020-4bdd-a0b4-e03487e1cbc6/oauth2/devicecode",
"http_logout_supported": true,
"frontchannel_logout_supported": true,
"end_session_endpoint": "https://login.microsoftonline.com/d746115c-c020-4bdd-a0b4-e03487e1cbc6/oauth2/logout",
"claims_supported": [
"sub",
"iss",
"cloud_instance_name",
"cloud_instance_host_name",
"cloud_graph_host_name",
"msgraph_host",
"aud",
"exp",
"iat",
"auth_time",
"acr",
"amr",
"nonce",
"email",
"given_name",
"family_name",
"nickname"
],
"check_session_iframe": "https://login.microsoftonline.com/d746115c-c020-4bdd-a0b4-e03487e1cbc6/oauth2/checksession",
"userinfo_endpoint": "https://login.microsoftonline.com/d746115c-c020-4bdd-a0b4-e03487e1cbc6/openid/userinfo",
"kerberos_endpoint": "https://login.microsoftonline.com/d746115c-c020-4bdd-a0b4-e03487e1cbc6/kerberos",
"tenant_region_scope": "NA",
"cloud_instance_name": "microsoftonline.com",
"cloud_graph_host_name": "graph.windows.net",
"msgraph_host": "graph.microsoft.com",
"rbac_url": "https://pas.windows.net"
}
HTTP Responses
■ | 200 OK |
■ | 400 Bad Request: The following shows an invalid request due to an incorrect Tenant Id. |
Copy
{
"error": "invalid_tenant",
"error_description": "AADSTS90002: Tenant '41747617-089b-4128-a9c87c9c2c596c25' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. Trace ID: 757b0de5-2d2a-42dd-a353-2ec098341c00 Correlation ID: 7bb039f3-959f-42b9-8575-fbdc5698d900 Timestamp: 2024-04-04 07:19:19Z",
"error_codes": [
90002
],
"timestamp": "2024-04-04 07:19:19Z",
"trace_id": "757b0de5-2d2a-42dd-a353-2ec098341c00",
"correlation_id": "7bb039f3-959f-42b9-8575-fbdc5698d900",
"error_uri": "https://login.microsoftonline.com/error?code=90002"
}